package com.base.jframe;

import javax.swing.*;
import java.awt.*;

/**
 * 图形化界面开发
 *
 * @author: May
 * @date 2020/11/9
 */
public class JavaWindow {
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        JPanel buttonPane = new JPanel(new BorderLayout());
        Component component = buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
        frame.add(component);
        frame.setVisible(true);
    }
}
